//
//  XCSMSSelectCountryView.h
//  HOLLASMSLoginKit
//
//  Created by Mars on 2019/10/10.
//  Copyright © 2019 mao PengLin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XCSMSISOMapper.h"
#import "XCSMSTextField.h"

NS_ASSUME_NONNULL_BEGIN

typedef void (^XCSMSNationalFlagViewClickBlock)(void);
typedef void (^XCSMSTextFieldChangeBlock)(UITextField *textField);

@interface XCSMSPhoneNumberTextField : UIView

@property (nonatomic, copy) XCSMSNationalFlagViewClickBlock nationClickBlock;
@property (nonatomic, copy) XCSMSTextFieldChangeBlock textFieldChangeBlock;

@property (nonatomic, strong) XCSMSTextField *phoneTextField;     //输入框
@property (nonatomic, strong) XCSMSISOCountry *countryModel;

- (void) setCountry: (XCSMSISOCountry *)model;


@end

NS_ASSUME_NONNULL_END
